﻿using System;
namespace Gx.Model
{
    [Serializable]
    public partial class E_EmpAttendanceImportInfo
    {
        private int _id;
        private string _empnum;
        private string _empname;
        private DateTime _worktime;
        public int Id
        {
            get
            {
                return _id;
            }
            set { _id = value; }
        }
        public string EmpNum
        {
            get
            {
                if (_empnum == null)
                {
                    return "";
                }
                return _empnum;
            }
            set { _empnum = value; }
        }
        public string EmpName
        {
            get
            {
                if (_empname == null)
                {
                    return "";
                }
                return _empname;
            }
            set { _empname = value; }
        }
        public DateTime WorkTime
        {
            get
            {
                if (_worktime == DateTime.MinValue)
                {
                    return DateTime.Parse("1911-01-01");
                }
                return _worktime;
            }
            set { _worktime = value; }
        }
    }

    public partial class E_EmpAttendanceImportInfo
    {
        public DateTime StartWorkTime { get; set; }
        public DateTime EndWorkTime { get; set; }
        public int EmpId { get; set; }
    }
}
